<template>
  <div class="header">
    <div class="header-left">
       <router-link to="/"
          <div class="iconfont back-icon">&#xe624;</div>
        </router-link>
    </div>
    <div class="header-input">
      订单填写
    </div>
    <router-link to="/onload">
      <div class="header-right">
        登录
      </div>
    </router-link>
  </div>

</template>

<script>
  export default {
    name: 'ShopHeader'

  }
</script>

<style  scoped>
  .header {
    display: flex;
    line-height: 64px;
    background-color: green;
    color: #fff;
    width: 100%;
    z-index: 2;

  }

  .header-left{
    width: 32px;
    float: left;
  }
  .back-icon{
    text-align: center;
    font-size: 20px;
  }
  .header-input {
    flex: 1;
    height: 32px;
    line-height: 32px;
    margin-top: 18px;
    text-align:center;
  }

  .header-right {
    min-width: 52px;
    padding: 5px;
    float: right;
    text-align: center;
    color: #fff
  }

</style>





